package com.sinog.front.feign.biz;

import com.sinog.core.model.UserDTO;
import com.sinog.core.utilbean.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @desc 多媒体-feign
 * @author -
 * @date 2020-02-05-16:27
 */
@FeignClient("sinog2c-biz")
public interface MediaService {

    /**
     * 保存罪犯多媒体信息
     * @param prinum prinum
     * @param id id
     * @param user user
     * @return Result
     */
    @PostMapping("/azbj/social/multixx/save")
    Result addMediaInfo(@RequestParam("prinum") String prinum,@RequestParam("id") String id,@RequestBody UserDTO user);
}